package com.stp.oversold.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("second_kill")
public class SecondKill {

    @TableId(type = IdType.ASSIGN_ID)
    private Long secondKillId;

    private String name;

    private Integer number;

    private LocalDateTime startTime;

    private LocalDateTime endTime;

    private LocalDateTime createTime;

    private Integer version;
}
